package edu.hwadee.entity;

/**
 * Materialsell entity. @author MyEclipse Persistence Tools
 */

public class Materialsell implements java.io.Serializable {

	// Fields

	private Integer materialSellId;
	private Clientbuy clientbuy;
	private Material material;
	private Float quanity;
	private Float earn;

	// Constructors

	/** default constructor */
	public Materialsell() {
	}

	/** full constructor */
	public Materialsell(Clientbuy clientbuy, Material material, Float quanity, Float earn) {
		this.clientbuy = clientbuy;
		this.material = material;
		this.quanity = quanity;
		this.earn = earn;
	}

	// Property accessors

	public Integer getMaterialSellId() {
		return this.materialSellId;
	}

	public void setMaterialSellId(Integer materialSellId) {
		this.materialSellId = materialSellId;
	}

	public Clientbuy getClientbuy() {
		return this.clientbuy;
	}

	public void setClientbuy(Clientbuy clientbuy) {
		this.clientbuy = clientbuy;
	}

	public Material getMaterial() {
		return this.material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public Float getQuanity() {
		return this.quanity;
	}

	public void setQuanity(Float quanity) {
		this.quanity = quanity;
	}

	public Float getEarn() {
		return this.earn;
	}

	public void setEarn(Float earn) {
		this.earn = earn;
	}

}